import instance from '@/utils/request'

//登录接口
export function loginApi (data) {
  return instance({
    url: '/sys/login',
    method: 'post',
    data
  })
}

//获取用户信息接口
export function getInfoApi() {
  return instance({
    url: '/sys/profile',
    method:'post'
  })
}

export function logout () {}
